package Jingtaiff;

public class Reverse {
	public static void reverseArray(int [] arr) {
		for (int i = 0; i < arr.length/2; i++) {
			int temp=arr[i];
			arr[i]=arr[arr.length-1-i];
			arr[arr.length-1-i]=temp;
		}
	}
}
